#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#define ROW 7
#define SIZE ROW*2
int main()
{
	char arr[SIZE] = { 0 };
	char* p = &arr[(SIZE - 1) / 2];
	for (int i = 0; i < SIZE-1; i++)
	{
		arr[i] = ' ';
	}
	arr[SIZE - 1] = '\0';
	for (int j = 0; j < (SIZE - 1) / 2; j++)
	{
		*(p + j) = '*';
		*(p - j) = '*';
		printf("%s\n", arr);
	}
	for (int k = (SIZE - 1) / 2 - 1; k > 0; k--)
	{
		*(p + k) = ' ';
		*(p - k) = ' ';
		printf("%s\n", arr);
	}
	return 0;
}